import json
import app


def read_json():
    my_list = []
    json_file = app.BASE_DIR + "/data/add.json"
    with open(json_file, encoding="utf-8")as f:
        a = json.load(f)
        for i in a:
            my_list.append((i.get("a"), i.get("b"), i.get("result")))
        return my_list



